package start.jaxb;

import lombok.Getter;
import lombok.Setter;
import start.util.CDATASectionAdapter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

@Getter
@Setter
@XmlRootElement(name = "PGK")
@XmlAccessorType(XmlAccessType.FIELD)
public class PGK{

    @XmlElement(name = "DATA")
    @XmlJavaTypeAdapter(CDATASectionAdapter.class)
    private String DATA;

    @XmlElement(name = "CHECKCODE")
    private String CHECKCODE;
}